package com.hb.core.pojo.project.calibration.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hb.core.pojo.project.calibration.entity.BidWinResult;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class PortalBidWinDTO extends BidWinResult {
    @ApiModelProperty(value = "公告类型 1: 工程, 2: 货物, 3: 服务(关联字典)")
    private Integer noticeType;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  publishStartDate;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  publishEndDate;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime publishDate;
    @ApiModelProperty(value = "省ID")
    private String province;
    @ApiModelProperty(value = "市ID")
    private String city;
    @ApiModelProperty(value = "区ID")
    private String area;
    @ApiModelProperty(value = "省")
    private String provinceName;
    @ApiModelProperty(value = "市")
    private String cityName;
    @ApiModelProperty(value = "区")
    private String areaName;
    @ApiModelProperty(value = "公司名称")
    private String orgName;
    @ApiModelProperty(value = "报名截止时间")
    @JsonFormat(shape= JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime  signEndTime;
    @ApiModelProperty(value = "项目名称")
    private String projectName;
    @ApiModelProperty(value = "项目招标类型: 1: 公开, 2: 邀请")
    private String commonType;
    @ApiModelProperty(value = "标段名称")
    private String sectionName;
    @ApiModelProperty(value = "标段ID")
    private String sectionId;
    @ApiModelProperty(value = "1、按照时间倒序 2、按照时间正序")
    private String sortType;
    @ApiModelProperty(value = "1、中标公示 2、候选人公示")
    private Integer queryType;

}
